/**
 *
 *
 */
package com.fw.timesheet.service;

import com.fw.timesheet.dao.AssigneeDAO;
import com.fw.timesheet.model.Assignee;

/**
 * @author sigit <br>
 * @version 1.0 <br>
 * Application : timesheet <br>
 * Copyright (c) fastwire-group 2012 <br>
 * <br>
 */
public class AssigneeService extends BaseService {

	
	private AssigneeDAO assigneeDAO;

	public AssigneeDAO getAssigneeDAO() {
		return assigneeDAO;
	}

	public void setAssigneeDAO(AssigneeDAO assigneeDAO) {
		this.assigneeDAO = assigneeDAO;
		setDaoObject(assigneeDAO);
	}
	
	
		
	public void delete(Assignee persistentInstance) {
		getAssigneeDAO().delete(persistentInstance);
	}
	
	public Assignee findById(Long id) {
		return getAssigneeDAO().findById(id);
	}
	
}
